package cn.zyq.demo.mapper.pay;

import cn.zyq.demo.beans.pay.PayOrder;
import cn.zyq.demo.system.config.common.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 支付订单Mapper接口
 *
 * @author SystemAuth
 * @date 2023-06-01
 */
@Component
public interface PayOrderMapper extends BaseMapper<PayOrder> {
    List<PayOrder> list(Map<String, Object> param);

    /**
     * 根据订单号获取一条订单信息
     *
     * @param orderCode
     * @return
     */
    PayOrder selectByOrderCode(String orderCode);
}
